using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace HRM.Page
{
    public partial class SearchStaff : Form
    {
        public SearchStaff()
        {
            InitializeComponent();
        }

        private void SearchStaff_Load(object sender, EventArgs e)
        {

        }

        private void rdoStaff_CheckedChanged(object sender, EventArgs e)
        {
            if (rdoStaff.Checked == true)
            {
                lblCode.Enabled = true;
                txtCode.Enabled = true;
            }
        }

        private void rdoAllStaff_CheckedChanged(object sender, EventArgs e)
        {
            if (rdoAllStaff.Checked == true)
            {
                lblCode.Enabled = false;
                txtCode.Enabled = false;
            }
        }
       
    }
}